package com.diaohaiwen.basic.account.obj.model;

import com.diaohaiwen.framework.db.obj.BaseCUModel;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import lombok.*;

/**
 * 系统账户部门表 实体类。
 *
 * @author 刁海文
 * @since 2023-07-20 19:06:16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(value = "account_department")
public class AccountDepartment extends BaseCUModel implements Serializable {

    /**
     * 父级主键ID
     */
    private Long parentId;

    /**
     * 部门名称
     */
    private String departmentName;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否有效
     */
    private Boolean valid;

}
